From: Colin Walters Date: Fri, 1 Aug 2014 12:54:17 +0000 (-0400) Subject: deploy: Propertly append multiple kernel arguments with --karg-proc-cmdline X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~1132 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=05114f856592d3068addd10871032662f87b9a29;p=ostree.git deploy: Propertly append multiple kernel arguments with --karg-proc-cmdline We want to allow multiply specified arguments, as it's useful for things like console= and rd.lvm.lv. See: https://bugzilla.gnome.org/show_bug.cgi?id=721136 Reported-by: Dusty Mabe --- diff --git a/src/ostree/ot-admin-builtin-deploy.c b/src/ostree/ot-admin-builtin-deploy.c index b99497fe..a99cc89e 100644 --- a/src/ostree/ot-admin-builtin-deploy.c +++ b/src/ostree/ot-admin-builtin-deploy.c @@ -143,7 +143,7 @@ ot_admin_builtin_deploy (int argc, char **argv, OstreeSysroot *sysroot, GCancell g_strchomp (proc_cmdline); proc_cmdline_args = g_strsplit (proc_cmdline, " ", -1); - _ostree_kernel_args_replace_argv (kargs, proc_cmdline_args); + _ostree_kernel_args_append_argv (kargs, proc_cmdline_args); } else if (merge_deployment) {